PDF Plugin for Xojo

Page.ShowText Method (console safe)

Draws text at current position on the page.

ShowText(
   text as String)

Parameters

text
The text to draw.

Remarks

GraphicsMode must be TEXT_OBJECT when calling this method.

Example:


if myFont <> nil then
    myPage.BeginText()
    myPage.MoveTextPosition(10,700)
    myPage.SetFont(myFont,12)
    myPage.ShowText("Some text”)
    myPage.EndText()
end if

See Also

Page Class